//
//  YZMPageService.h
//  YZMicroStock
//
//  Created by wangminhong on 16/4/7.
//  Copyright © 2016年 cqjr. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface YZMPageService : NSObject

@property (nonatomic) NSInteger page;
@property (nonatomic) NSInteger pageSize;
@property (nonatomic) NSInteger maxPage;
@property (nonatomic) NSString *timeEnd;
@property (nonatomic) NSInteger minPage;

- (void)reset;      /*重置页码管理器*/
- (NSInteger)nextPage;   /*下一页*/
- (BOOL)isMinPage;  /*是否最小页*/
- (BOOL)isMaxPage;  /*是否最大页*/

- (void)preChangeWithPage:(NSInteger)page andTimeEnd:(BOOL)timeEndFlag;
- (void)effectChange;
- (void)cancelChange;

- (NSInteger)tempPage;
- (NSString *)tempTimeEnd;

@end
